import random
success = 0
for _ in range(100):
    response_time = 180 + 50 * (0.5 - random.random())

    status_code = 200 if random.random() > 0.1 else 500
    if response_time <= 200 and status_code == 200:
        success += 1
print(f"通过率：{success}%")